package com.iot.iotplus.service;

import com.iot.iotplus.base.Result;
import com.iot.iotplus.entity.MqttUser;
import com.iot.iotplus.entity.Tenant;

import java.io.IOException;

public interface TenantService {
    //登录校验
    public Result<?> login(String username,String password,String phoneNumber,String code);
    //注册
    public Result<?> register(Tenant tenant);
    //添加mqtt注册用户
    public Result<?> add(MqttUser mqttUser);

    Result<?> getTenant(String tenant);
}
